<div class="page-content" xmlns="http://www.w3.org/1999/html">
    <div class="col-sm-6 pull-right">

        <button class="btn btn-sm btn-primary pull-right" onclick="javascript:window.location.href = '{:url("index")}'">
            返回列表
            <i class="icon-reply icon-only"></i>
        </button>
    </div>
    <div class="page-header">
        <h1>
            {:model('menu')->getParentNname()}
            <small>
                <i class="ace-icon fa fa-angle-double-right"></i>
                {:input('id')?'编辑':'新增'}
            </small>
        </h1>
    </div>

    <div class="row">
        <div class="col-xs-12">
            <form class="form-horizontal" role="form" action="/admin/business/edit" method="post" name="myfrom" >

                <input type="hidden" name="sid" value="{$detail.sid}">
                <input type="hidden" name="stock_code" value="{$detail.stock_code}">

                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">证券编号 : </label>
                    <div class="col-sm-9">
                        <input type="text" class="col-xs-10 col-sm-5" value="{$detail.stock_code|default=''}"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">行业公司总数 : </label>
                    <div class="col-sm-9">
                        <input type="text" class="col-xs-10 col-sm-5" value="{$detail.company_total}" name="company_total"/>
                    </div>
                </div>
                <div style="height:50px">&nbsp;</div>

                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">市盈率(TTM) : </label>
                    <div class="col-sm-9">
                        <input type="text" class="col-xs-10 col-sm-5" value="{$detail.pe|default=''}" name="pe"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">行业平均市盈率 : </label>
                    <div class="col-sm-9">
                        <input type="text" class="col-xs-10 col-sm-5" value="{$detail.pe_average|default=''}" name="pe_average"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">行业排名 : </label>
                    <div class="col-sm-9">
                        <input type="text" class="col-xs-10 col-sm-5" value="{$detail.pe_rank|default=''}" name="pe_rank"/>
                    </div>
                </div>
                <div style="height:50px">&nbsp;</div>

                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">市净率 : </label>
                    <div class="col-sm-9">
                        <input type="text" class="col-xs-10 col-sm-5" value="{$detail.pb|default=''}" name="pb"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">行业平均市净率 : </label>
                    <div class="col-sm-9">
                        <input type="text" class="col-xs-10 col-sm-5" value="{$detail.pb_average|default=''}" name="pb_average"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">行业排名 : </label>
                    <div class="col-sm-9">
                        <input type="text" class="col-xs-10 col-sm-5" value="{$detail.pb_rank|default=''}" name="pb_rank"/>
                    </div>
                </div>
                <div style="height:50px">&nbsp;</div>

                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">市销率 : </label>
                    <div class="col-sm-9">
                        <input type="text" class="col-xs-10 col-sm-5" value="{$detail.ps|default=''}" name="ps"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">行业平均市销率 : </label>
                    <div class="col-sm-9">
                        <input type="text" class="col-xs-10 col-sm-5" value="{$detail.ps_average|default=''}" name="ps_average"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">行业排名 : </label>
                    <div class="col-sm-9">
                        <input type="text" class="col-xs-10 col-sm-5" value="{$detail.ps_rank|default=''}" name="ps_rank"/>
                    </div>
                </div>
                <div style="height:50px">&nbsp;</div>

                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">市现率 : </label>
                    <div class="col-sm-9">
                        <input type="text" class="col-xs-10 col-sm-5" value="{$detail.pcf|default=''}" name="pcf"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">行业平均市现率 : </label>
                    <div class="col-sm-9">
                        <input type="text" class="col-xs-10 col-sm-5" value="{$detail.pcf_average|default=''}" name="pcf_average"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">行业排名 : </label>
                    <div class="col-sm-9">
                        <input type="text" class="col-xs-10 col-sm-5" value="{$detail.pcf_rank|default=''}" name="pcf_rank"/>
                    </div>
                </div>
                <div style="height:50px">&nbsp;</div>

                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">总市值 : </label>
                    <div class="col-sm-9">
                        <input type="text" class="col-xs-10 col-sm-5" value="{$detail.total|default=''}" name="total"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">行业平均总市值 : </label>
                    <div class="col-sm-9">
                        <input type="text" class="col-xs-10 col-sm-5" value="{$detail.total_average|default=''}" name="total_average"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">行业排名 : </label>
                    <div class="col-sm-9">
                        <input type="text" class="col-xs-10 col-sm-5" value="{$detail.total_rank|default=''}" name="total_rank"/>
                    </div>
                </div>
                <div style="height:50px">&nbsp;</div>

                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">营业收入 : </label>
                    <div class="col-sm-9">
                        <input type="text" class="col-xs-10 col-sm-5" value="{$detail.take|default=''}" name="take"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">行业平均值 : </label>
                    <div class="col-sm-9">
                        <input type="text" class="col-xs-10 col-sm-5" value="{$detail.take_average|default=''}" name="take_average"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">行业排名 : </label>
                    <div class="col-sm-9">
                        <input type="text" class="col-xs-10 col-sm-5" value="{$detail.take_rank|default=''}" name="take_rank"/>
                    </div>
                </div>
                <div style="height:50px">&nbsp;</div>

                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">净利润 : </label>
                    <div class="col-sm-9">
                        <input type="text" class="col-xs-10 col-sm-5" value="{$detail.profit|default=''}" name="profit"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">行业平均值 : </label>
                    <div class="col-sm-9">
                        <input type="text" class="col-xs-10 col-sm-5" value="{$detail.profit_average|default=''}" name="profit_average"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">行业排名 : </label>
                    <div class="col-sm-9">
                        <input type="text" class="col-xs-10 col-sm-5" value="{$detail.profit_rank|default=''}" name="profit_rank"/>
                    </div>
                </div>
                <div style="height:50px">&nbsp;</div>

                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">EV/EBITDA : </label>
                    <div class="col-sm-9">
                        <input type="text" class="col-xs-10 col-sm-5" value="{$detail.ev|default=''}" name="ev"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">行业平均值 : </label>
                    <div class="col-sm-9">
                        <input type="text" class="col-xs-10 col-sm-5" value="{$detail.ev_average|default=''}" name="ev_average"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">行业排名 : </label>
                    <div class="col-sm-9">
                        <input type="text" class="col-xs-10 col-sm-5" value="{$detail.ev_rank|default=''}" name="ev_rank"/>
                    </div>
                </div>
                <div style="height:50px">&nbsp;</div>

                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">净利润增长率 : </label>
                    <div class="col-sm-9">
                        <input type="text" class="col-xs-10 col-sm-5" value="{$detail.growth|default=''}" name="growth"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">行业平均值 : </label>
                    <div class="col-sm-9">
                        <input type="text" class="col-xs-10 col-sm-5" value="{$detail.growth_average|default=''}" name="growth_average"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">行业排名 : </label>
                    <div class="col-sm-9">
                        <input type="text" class="col-xs-10 col-sm-5" value="{$detail.growth_rank|default=''}" name="growth_rank"/>
                    </div>
                </div>
                <div style="height:50px">&nbsp;</div>
                <div class="clearfix form-actions">
                    <div class="col-md-offset-3 col-md-9">
                        <button class="btn btn-info" type="button" onclick="myfrom.submit()">
                            <i class="ace-icon fa fa-check bigger-110"></i>
                            提交
                        </button>
                        &nbsp; &nbsp; &nbsp;
                        <button class="btn" type="reset">
                            <i class="ace-icon fa fa-undo bigger-110"></i>
                            重置
                        </button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>